package mall.entity;

import mall.core.Entity;

import java.io.InputStream;

public class Image extends Entity {
    private String id;
    private InputStream data;

    public Image() {
    }

    public Image(String id, InputStream data) {
        this.id = id;
        this.data = data;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public InputStream getData() {
        return data;
    }

    public void setData(InputStream data) {
        this.data = data;
    }
}
